package com.xgry.bpm.api.base.formltem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author adrian
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("form_ltem")
public class FormLtem extends Model<FormLtem> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("cBgReference")
    private String cBgReference;

    @TableField("cCombo")
    private String cCombo;

    @TableField("cEditCss")
    private String cEditCss;

    @TableField("cFormName")
    private String cFormName;

    @TableField("cFormat")
    private String cFormat;

    @TableField("cGridType")
    private String cGridType;

    @TableField("cItemType")
    private String cItemType;

    @TableField("cLadText")
    private String cLadText;

    @TableField("cLength")
    private String cLength;

    @TableField("cMath")
    private String cMath;

    @TableField("cRefObj")
    private String cRefObj;

    @TableField("cReference")
    private String cReference;

    @TableField("cTableField")
    private String cTableField;

    @TableField("cTableName")
    private String cTableName;

    @TableField("cType")
    private String cType;

    private String cId;

    @TableField("checkboxId")
    private Integer checkboxId;

    private String colId;

    @TableField("gridColumns")
    private String gridColumns;

    @TableField("iConX")
    private Integer iConX;

    @TableField("iConY")
    private Integer iConY;

    @TableField("iLabHeight")
    private Integer iLabHeight;

    @TableField("iLabWidth")
    private Integer iLabWidth;

    @TableField("iWidth")
    private Integer iWidth;

    @TableField("lanyoutMent")
    private Integer lanyoutMent;

    @TableField("modularId")
    private Integer modularId;

    @TableField("parId")
    private Integer parId;

    @TableField("tableClassId")
    private Integer tableClassId;

    @TableField("tableClassName")
    private String tableClassName;

    private String type;

    @TableField("formListId")
    private Integer formListId;

    @TableField("referenceOne")
    private String referenceOne;

    @TableField("referenceTwo")
    private String referenceTwo;

    @TableField("cTabText")
    private String cTabText;

    private String tabId;

    private String tabsId;

    private String gridData;

    private String modular;

    private String ref;

    @TableField("cRequire")
    private String cRequire;

    @TableField("cDateDefault")
    private String cDateDefault;

    private String buttons;

    @TableField("cCheckbox")
    private String cCheckbox;

    @TableField("cFormTitle")
    private String cFormTitle;

    @TableField("cRadiobox")
    private String cRadiobox;

    @TableField("cUpload")
    private String cUpload;

    @TableField("openId")
    private String openId;

    @TableField("cSpinner")
    private String cSpinner;

    @TableField("cGroup")
    private String cGroup;

    private Integer display;

    @TableField("cNull")
    private String cNull;

    @TableField("cFontSize")
    private String cFontSize;

    @TableField("cDesignMode")
    private String cDesignMode;

    @TableField("cTree")
    private String cTree;

    @TableField("formTypes")
    private String formTypes;

    @TableField("mId")
    private String mId;

    @TableField("cTreeStruct")
    private String cTreeStruct;

    @TableField("referenceField")
    private String referenceField;

    @TableField("cDataTree")
    private String cDataTree;

    @TableField("cLayoutType")
    private String cLayoutType;

    @TableField("cTableFieldType")
    private String cTableFieldType;

    @TableField("cTableField_ch")
    private String ctablefieldCh;

    @TableField("modelId")
    private String modelId;

    @TableField("findQuery")
    private String findQuery;

    @TableField("sortID")
    private Integer sortID;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
